﻿<Window x:Class="JDKD.BMCS.AppUI.PasswordWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="登录" FontSize="24" ResizeMode="NoResize" SizeToContent="WidthAndHeight" WindowStartupLocation="CenterScreen" Loaded="Window_Loaded" WindowStyle="None" FontFamily="FangSong_GB2312" Opacity="0.9" AllowsTransparency="True" Background="{x:Null}" MouseDown="Window_MouseDown">
        <Border BorderThickness="2" CornerRadius="12">
                <Border.BorderBrush>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="Black" Offset="1" />
                                <GradientStop Color="Gray" Offset="0" />
                        </LinearGradientBrush>
                </Border.BorderBrush>
                <Grid>
                <Grid.RowDefinitions>
                        <RowDefinition Height="Auto" />
                        <RowDefinition />
                        <RowDefinition Height="Auto" />
                </Grid.RowDefinitions>
                <Grid HorizontalAlignment="Stretch" Margin="6" Name="grid1" VerticalAlignment="Stretch">
                        <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="140" />
                                <ColumnDefinition />
                        </Grid.ColumnDefinitions>
                        <TextBlock HorizontalAlignment="Left" Margin="20" Name="textBlock1" Text="密    码" VerticalAlignment="Center" FontSize="24" Foreground="AliceBlue" />
                        <PasswordBox Grid.Column="1" HorizontalAlignment="Stretch" Margin="20" Name="PasswordTextBox" VerticalAlignment="Top" FontSize="24" Background="{x:Null}" BorderBrush="AliceBlue" Foreground="AliceBlue" />
                </Grid>
                <Grid Grid.Row="1" HorizontalAlignment="Stretch" Margin="6" Name="grid2" VerticalAlignment="Stretch">
                        <Grid.RowDefinitions>
                                <RowDefinition />
                                <RowDefinition />
                                <RowDefinition />
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                        </Grid.ColumnDefinitions>
                        <Button Content="1" HorizontalAlignment="Center" Margin="20" Name="OneButton" VerticalAlignment="Center" Width="38" FontSize="24" Click="OneButton_Click" />
                        <Button Content="2" Grid.Column="1" HorizontalAlignment="Center" Margin="20" Name="TwoButton" VerticalAlignment="Center" Width="38" FontSize="24" Click="TwoButton_Click" />
                        <Button Content="3" Grid.Column="2" HorizontalAlignment="Center" Margin="20" Name="ThreeButton" VerticalAlignment="Center" Width="38" FontSize="24" Click="ThreeButton_Click" />
                        <Button Content="4" Grid.Column="3" HorizontalAlignment="Center" Margin="20" Name="FourButton" VerticalAlignment="Center" Width="38" FontSize="24" Click="FourButton_Click" />
                        <Button Content="5" Grid.Row="1" HorizontalAlignment="Center" Margin="20" Name="FiveButton" VerticalAlignment="Center" Width="38" FontSize="24" Click="FiveButton_Click" />
                        <Button Content="6" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Center" Margin="20" Name="SixButton" VerticalAlignment="Center" Width="38" FontSize="24" Click="SixButton_Click" />
                        <Button Content="7" Grid.Column="2" Grid.Row="1" HorizontalAlignment="Center" Margin="20" Name="SevenButton" VerticalAlignment="Center" Width="38" FontSize="24" Click="SevenButton_Click" />
                        <Button Content="8" Grid.Column="3" Grid.Row="1" HorizontalAlignment="Center" Margin="20" Name="EightButton" VerticalAlignment="Center" Width="38" FontSize="24" Click="EightButton_Click" />
                        <Button Content="9" Grid.Row="2" HorizontalAlignment="Center" Margin="20" Name="NineButton" VerticalAlignment="Center" Width="38" FontSize="24" Click="NineButton_Click" />
                        <Button Content="0" Grid.Column="1" Grid.Row="2" HorizontalAlignment="Center" Margin="20" Name="ZeroButton" VerticalAlignment="Center" Width="38" FontSize="24" Click="ZeroButton_Click" />
                        <Button Content="清除" Grid.Column="2" Grid.Row="2" HorizontalAlignment="Center" Margin="20" Name="ClearButton" VerticalAlignment="Center" Grid.ColumnSpan="2" Width="136" FontSize="24" Click="ClearButton_Click" />
                </Grid>
                <Grid Grid.Row="2" HorizontalAlignment="Stretch" Margin="6" Name="grid3" VerticalAlignment="Stretch">
                        <Grid.ColumnDefinitions>
                                <ColumnDefinition />
                                <ColumnDefinition />
                        </Grid.ColumnDefinitions>
                        <Button Content="确定" Grid.Column="1" HorizontalAlignment="Right" Margin="20" Name="AcceptButton" VerticalAlignment="Center" FontSize="24" Click="AcceptButton_Click" />
                        <Button Content="取消" HorizontalAlignment="Left" Margin="12" Name="CancelButton" VerticalAlignment="Center" Click="CancelButton_Click" />
                </Grid>
        </Grid>
                <Border.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="Black" Offset="0" />
                                <GradientStop Color="Gray" Offset="1" />
                        </LinearGradientBrush>
                </Border.Background>
        </Border>
</Window>